//
//  ViewController.m
//  FirstIOSApp
//
//  Created by China Dragon on 2023/7/19.
//

#import "ViewController.h"

@interface ViewController ()

@end

@implementation ViewController

-(void)login{
    NSString *qqtext = _qq.text;
    NSString *pwdtext = _pwd.text;
    NSLog(@"登录按钮被点击了 qq = %@ pwd = %@",qqtext, pwdtext);
    //resignFirstResponder 代表第一响应者 关闭键盘
//    [_qq resignFirstResponder];
//    [_pwd resignFirstResponder];
    
    //如果第一响应者存在self.view 里面，就可以退出键盘
    [self.view endEditing:YES];
}

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}


@end
